[INFO] cloning repository https://github.com/Krahos/neural_networks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Krahos/neural_networks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrahos%2Fneural_networks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrahos%2Fneural_networks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 964ead09bb9f6132082018a23c11923e6169deb3
[INFO] building Krahos/neural_networks against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrahos%2Fneural_networks" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Krahos/neural_networks on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Krahos/neural_networks
[INFO] finished tweaking git repo https://github.com/Krahos/neural_networks
[INFO] tweaked toml for git repo https://github.com/Krahos/neural_networks written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/Krahos/neural_networks already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 87d40fe0a656cbd00236610071681d5fd0db02ceba43500c71c11a71c5fdfc25
[INFO] running `Command { std: "docker" "start" "-a" "87d40fe0a656cbd00236610071681d5fd0db02ceba43500c71c11a71c5fdfc25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87d40fe0a656cbd00236610071681d5fd0db02ceba43500c71c11a71c5fdfc25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87d40fe0a656cbd00236610071681d5fd0db02ceba43500c71c11a71c5fdfc25", kill_on_drop: false }`
[INFO] [stdout] 87d40fe0a656cbd00236610071681d5fd0db02ceba43500c71c11a71c5fdfc25
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d1487de580a8a5760cb74356e85a1f0d4a6a16de88de93046fb6366a072800d1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d1487de580a8a5760cb74356e85a1f0d4a6a16de88de93046fb6366a072800d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling neural_networks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `expected_outputs` in this scope
[INFO] [stdout]   --> src/neural_network.rs:86:77
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let delta = cost_derivative(sigmoid_outputs[sigmoid_outputs.len()], expected_outputs)
[INFO] [stdout]    |                                                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied
[INFO] [stdout]   --> src/neural_network.rs:87:50
[INFO] [stdout]    |
[INFO] [stdout] 87 |             * sigmoid_derivative(sigmoid_outputs[-1]);
[INFO] [stdout]    |                                                  ^^ the trait `Neg` is not implemented for `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/neural_network.rs:87:34
[INFO] [stdout]    |
[INFO] [stdout] 87 |             * sigmoid_derivative(sigmoid_outputs[-1]);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^ expected `f64`, found `&Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `f64`
[INFO] [stdout]            found reference `&Vec<f64>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot multiply `Vec<f64>` by `f64`
[INFO] [stdout]   --> src/neural_network.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let delta = cost_derivative(sigmoid_outputs[sigmoid_outputs.len()], expected_outputs)
[INFO] [stdout]    |                     ------------------------------------------------------------------------- Vec<f64>
[INFO] [stdout] 87 |             * sigmoid_derivative(sigmoid_outputs[-1]);
[INFO] [stdout]    |             ^ --------------------------------------- f64
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/neural_network.rs:89:16
[INFO] [stdout]    |
[INFO] [stdout] 62 |     ) -> Result<(Vec<f64>, Vec<f64>), String> {
[INFO] [stdout]    |          ------------------------------------ expected `Result<(Vec<f64>, Vec<f64>), String>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 89 |         return (nabla_b, nabla_w);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^ expected enum `Result`, found tuple
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<(Vec<f64>, Vec<f64>), String>`
[INFO] [stdout]              found tuple `(Vec<Vec<f64>>, Vec<Vec<f64>>)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `neural_networks`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "d1487de580a8a5760cb74356e85a1f0d4a6a16de88de93046fb6366a072800d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1487de580a8a5760cb74356e85a1f0d4a6a16de88de93046fb6366a072800d1", kill_on_drop: false }`
[INFO] [stdout] d1487de580a8a5760cb74356e85a1f0d4a6a16de88de93046fb6366a072800d1
